home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / e_mac / sys⁄unistd.h < prev    next >
Encoding:
Text File  |  1995-09-08  |  424 b   |  24 lines  |  [TEXT/CWIE]

  1. /* sys/unistd.h */
  2.  
  3. #include <unistd.h>
  4.  
  5. #include <string.h> // for strerror
  6.  
  7. #ifndef ENOENT
  8. #define ENOENT ERANGE
  9. #endif
  10.  
  11. #ifndef EIO
  12. #define EIO ERANGE
  13. #endif
  14.  
  15. #ifndef F_OK
  16. /* access function */
  17. #define    F_OK        0    /* test for existence of file */
  18. #define    X_OK        0x01    /* test for execute or search permission */
  19. #define    W_OK        0x02    /* test for write permission */
  20. #define    R_OK        0x04    /* test for read permission */
  21. #endif
  22.  
  23. /* */
  24.